package com.example.demo1122.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author baomidou
 * @since 2023-12-11
 */
@Data
@ApiModel(value = "Class对象", description = "")
public class Class implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "classID", type = IdType.AUTO)
    private Integer classID;

    private String className;

    private String teacherID;

    private Integer courseID;

    // teacherName
    @TableField(exist = false)
    private String name;

    @TableField(exist = false)
    private String courseName;
}
